package com.jd.mysql.mgr.service.impl;

import java.util.Date;
import java.util.List;

import com.jd.mysql.mgr.dao.MgrInspectReportDAO;
import com.jd.mysql.mgr.pojo.MgrInspectReport;
import com.jd.mysql.mgr.service.IMgrInspectReportService;

public class MgrInspectReportServiceImpl implements IMgrInspectReportService {
	
	private MgrInspectReportDAO mgrInspectReportDao;
	

	public void setMgrInspectReportDao(MgrInspectReportDAO mgrInspectReportDao) {
		this.mgrInspectReportDao = mgrInspectReportDao;
	}

	public void deleteMgrInspectReport(MgrInspectReport mir) {
		// TODO Auto-generated method stub
		mgrInspectReportDao.deleteMgrInspectReport(mir);
	}

	public MgrInspectReport findMgrInspectReportById(Integer id) {
		// TODO Auto-generated method stub
		return mgrInspectReportDao.findMgrInspectReportById(id);
	}

	public void saveMgrInspectReport(MgrInspectReport mir) {
		// TODO Auto-generated method stub
		mgrInspectReportDao.saveMgrInspectReport(mir);
	}

	public void updateMgrInspectReport(MgrInspectReport mir) {
		// TODO Auto-generated method stub
		mgrInspectReportDao.updateMgrInspectReport(mir);
	}

	public List<MgrInspectReport> getMgrInspectReportList(Date date,
			Integer limit, Integer start) {
		// TODO Auto-generated method stub
		return mgrInspectReportDao.getMgrInspectReportList(date, limit, start);
	}

	public Long getMgrInspectReportListCount(Date date) {
		// TODO Auto-generated method stub
		return mgrInspectReportDao.getMgrInspectReportListCount(date);
	}

}
